Program Behavior Model Based on Event Grammar and its Application for Debugging Automation
نویسنده
چکیده
The notion of event constitutes the basis of the target program behavior model. This model, called H-space (History-space), is formally defined through a set of axioms (event grammar) for two basic relations, which may hold between two arbitrary events: the events may be sequentially ordered or one of them might be included in another composite event. Target program execution history is represented as a set of nested events. A general paradigm of "computation over execution history" is suggested in this paper as a basis for debugging automation. A language to describe computations over execution histories of target programs provides means for assertion checking, debugging queries, profiles, and performance measurement. Event patterns and aggregate operations over event traces, can be used in order to describe typical bugs and debugging rules. The knowledge about typical bugs and debugging rules can be formalized in libraries of assertions and debugging rules and can be used for run-time detection of bugs and bug localization. Examples of assertions and debugging rules are presented and prototype implementation issues are briefly discussed.
منابع مشابه
NAVAL POSTGRADUATE SCHOOL Monterey , California Engineering Automation for Reliable Software
This paper suggests an approach to the development of software testing and debugging automation tools based on precise program behavior models. The program behavior model is defined as a set of events (event trace) with two basic binary relations over events -precedence and inclusion, and represents the temporal relationship between actions. A language for the computations over event traces is ...
متن کاملAssertion checker for the C programming language based on computations over event traces
This paper suggests an approach to the development of software testing and debugging automation tools based on precise program behavior models. The program behavior model is defined as a set of events (event trace) with two basic binary relations over events-precedence and inclusion, and represents the temporal relationship between actions. A language for the computations over event traces is d...
متن کاملTools for program dynamic analysis, testing, and debugging based on event grammars
This paper suggests an approach to the development of software testing and debugging automation tools based on precise program behavior models. The program behavior model is defined as a set of events (event trace) with two basic binary relations over events -precedence and inclusion, and represents the temporal relationship between actions. A language for the computations over event traces is ...
متن کامل“Lightweight” Semantics Models for Program Testing and Debugging Automation
We suggest an approach to the development of software testing and debugging automation tools based on precise program behavior models. The program behavior model is defined as a set of events (event trace) with two basic binary relations over events -precedence and inclusion, and represents the temporal relationship between actions. A language for the computations over event traces is developed...
متن کاملPrinciples for the Automated Construction of Distributed Application Software Execution Models
Models of software execution are used for many purposes, such as program understanding, re-engineering, reuse, performance analysis, and debugging. Often these models are mental pictures that are developed from design documents, source code examination, or experience with the system. Manually constructing models for a small software system is relatively easy, but it is expensive, difficult, and...
متن کامل